.ns-notice {
    h1, h2, h3, h4, h5 {
        @apply text-fontcolor;
    }

    p, span {
        @apply text-white;
    }

    &.danger {
        @apply border-error-tertiary bg-error-secondary border;

        h1, h2, h3, h4, h5 {
            @apply text-error-tertiary;
        }

        p > a {
            @apply text-error-tertiary;
            &:hover {
                @apply underline;
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.warning {
        @apply border-warning-tertiary bg-warning-secondary border;

        h1, h2, h3, h4, h5 {
            @apply text-warning-tertiary;
        }

        p > a {
            @apply text-warning-tertiary;
            &:hover {
                @apply underline;
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.success {
        @apply border-success-tertiary bg-success-secondary border;

        h1, h2, h3, h4, h5 {
            @apply text-white;
        }

        p > a {
            @apply text-white;
            &:hover {
                @apply underline;
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.error {
        @apply border-error-secondary bg-error-secondary border;

        h1, h2, h3, h4, h5 {
            @apply text-error-tertiary;
        }

        p > a {
            @apply text-error-tertiary;
            &:hover {
                @apply underline;
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.info {
        @apply border-info-tertiary bg-info-secondary;

        h1, h2, h3, h4, h5 {
            @apply text-white;
        }

        p {
            @apply text-white;
            & > a {
                @apply text-info-secondary;
                &:hover {
                    @apply underline;
                }
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
}

.ns-normal-text {
    @apply text-fontcolor;
}

.session-notice {
    &.info {
        @apply bg-info-primary border-info-tertiary text-fontcolor; 
    }
}